home *** CD-ROM | disk | FTP | other *** search
/ Adobe Graphics & Publishing SDK 1996 December / Adobe Graphics & Publishing SDK 1996 December.iso / mac / PageMaker 6.5 SDK Mac / SourceCode / PageMakerClassLibrary / Queries / PTextBlock.h < prev   
C/C++ Source or Header  |  1996-07-15  |  956b  |  44 lines

  1. /*
  2.  *--- PTextBlock.h --------------------------------------------------------
  3.  * Copyright (c) 1995-96 Adobe Systems Incorporated.  All rights reserved.
  4.  * Created on Sun, Oct 22, 1995 @ 4:49 PM by Paul Ferguson.
  5.  *
  6.  * Description: This class is used by PGetStoryIDList and PGetStoryList to
  7.  * manage the text block list that is part of the data returned by these
  8.  * queries. 
  9.  *-------------------------------------------------------------------------
  10.  */
  11. #ifndef __PTextBlock__
  12. #define __PTextBlock__
  13.  
  14. #include "PListQuery.h"
  15.  
  16. class PTextBlock : public PListQuery
  17. {
  18.  
  19. public:
  20.  
  21.     PTextBlock();
  22.  
  23.  
  24.     PTextBlock & operator=(const char *);
  25.     const char * End();            // points to byte past list.
  26.     
  27.     short    nPageNumber;
  28.     long    xLeftTop;
  29.     long    yLeftTop;
  30.     long    xRightBottom;
  31.     long    yRightBottom;
  32.     short    nNumChars;
  33.  
  34. private:
  35.  
  36.     const char * itemsStart;        // used by End()
  37.     
  38.     virtual void Scan();
  39. };
  40.  
  41. #endif
  42.  
  43. // end of PTextBlock.h
  44.